<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h2>用户登陆</h2>
<form id="f1" method="post" action="login">
    Name:<input type="text" name="userName"/>
    <input type="submit" value="login"/>
</form>
</body>
</html>